package com.qding.park.adapter.bsg.adapter.config;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import com.baidu.disconf.client.common.annotations.DisconfFile;
import com.baidu.disconf.client.common.annotations.DisconfFileItem;
import com.baidu.disconf.client.common.annotations.DisconfItem;

/**
 * @ClassName BSGConfig
 * @Description TODO(博思高adapter 配置信息)
 * @author LeiYang
 * @Date 2017年5月10日 上午11:46:03
 * @version 1.0.0
 */
@Service
@Scope("singleton")
@DisconfFile(filename = "bsgAdapter.properties")
public class BSGConfig {
    
    private static String  adapterUrl="";
    
    
    @DisconfFileItem(name = "adapter.http.url", associateField = "adapterUrl")
    public static String getAdapterUrl() {
        return adapterUrl;
    }

    
    public static void setAdapterUrl(String adapterUrl) {
        BSGConfig.adapterUrl = adapterUrl;
    }
    
    

}
